// const dayjs = require('dayjs')

export default {
    beforeMount(el, binding) {
        let time = dayjs(binding.value).format('YYYY-MM-DD HH:mm:ss')
        el.appendChild(document.createTextNode(time))
    }
}